<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css" />
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="css/jquery.datetimepicker.css" />
		<script src="js/jquery-1.11.0.js"></script>
		<script src="js/bootstrap.min.js"></script>
		<script src="js/jquery.datetimepicker.js"></script>
		
		<style type="text/css">
			div {
				/*border: 1px solid blue;*/
			}
		</style>
		<script>
			$(function() {
				$('#datetimepicker2').datetimepicker({
					yearOffset: 0,
					lang: 'ch',
					timepicker: false,
					format: 'Y-m-d',
					formatDate: 'Y-m-d',
				});
				var logic = function(currentDateTime) {
					if (currentDateTime.getDay() == 6) {
						this.setOptions({
							minTime: '11:00'
						});
					} else
						this.setOptions({
							minTime: '8:00'
						});
				};
				$("#t1").mouseover(function(){
					if($("#t1").val()==("")){
					$("#span1").css('display',"inline");
				}
				})
				$("#t1").mouseout(function(){
					if($("#t1").val()==("")){
					$("#span1").css('display',"inline");
				}else{
					$("#span1").css('display',"none");
				}
				})
			})
		</script>
	</head>

	<body>
		<div class="container">
			<div class="row">
				<!--表单-->
				<div class="col-lg-6 col-lg-offset-3" style="text-align: center;margin-top:100px ;">
					<form class="form-horizontal" action="debark" method="post">
						
						<div class="form-group">
							<label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" id="t1"  name="uname"/>
									<span style="color: red;display: none;" id="span1">用户名不能为空</span>
							</div>
						</div>
						<div class="form-group">
							<label for="inputPassword3" class="col-sm-2 control-label ">登陆密码</label>
							<div class="col-sm-10">
								<input type="password" class="form-control" id="inputPassword3" name="pwd" placeholder="Password">
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-offset-4 col-sm-3">
								<button type="submit" class="btn btn-primary">登陆</button>
							</div>
							<div class="col-sm-offset-0 col-sm-3">
								<button type="reset" class="btn btn-primary">重置</button>
							</div>
							<div>
								 <font  size="5"  color="#000099"><a href="Cregister.jsp">注册</a> </font> 
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		
	</body>

</html>